package com.career.syn.web;

/**
 * 
 * @ClassName: RespCode
 * @Description: 统一系统错误码
 * @author georgeli
 * @date 2018年7月3日 上午10:34:42
 */
public class RespCode {

	// 正常
	public static final int OK = 200;
	// 警告
	public static final int WARN = 300;
	// 错误
	public static final int ERROR = 500;

	// 没有登录
	public static final int NOT_LOGIN = 1001;
	// 重复登录
	public static final int REPEAT_LOGIN = 2001;
	// 无权限
	public static final int NO_PERM = 3001;
	// 参数错误
	public static final int INVALID_PARAM = 4001;
	// 版本错误
	public static final int INVALID_VERSION = 5001;
	// 非法ip
	public static final int INVALID_IP = 6001;

}
